package com.wdl.fmnew.app.demo;

import com.wdl.fmnew.core.mvp.BaseModel;
import com.wdl.fmnew.core.mvp.BasePresenter;
import com.wdl.fmnew.core.mvp.BaseView;
import com.wdl.fmnew.core.net.callback.ApiListener;

/**
 * Created by wdl on 2017/9/18.
 */

public interface DemoContract {
    interface Presenter extends BasePresenter<View> {

        void refreshData();

        void mn();
    }

    interface View extends BaseView<Presenter> {
        void showTip(String tip);

        void showData(String msg);
    }

    interface Model extends BaseModel {
        void getData(ApiListener<String> listener);

        void mn();
    }
}
